package com.farm.farm.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.farm.common.annotation.Excel;
import com.farm.common.core.domain.BaseEntity;

/**
 * 农场地管理对象 farm
 * 
 * @author yd
 * @date 2024-03-12
 */
public class Farm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农场地编号 */
    private Long farmId;

    /** 名称 */
    @Excel(name = "名称")
    private String farmName;

    /** 面积 */
    @Excel(name = "面积")
    private BigDecimal farmArea;

    /** 位置 */
    @Excel(name = "位置")
    private String farmAddress;

    /** 种植作物 */
    @Excel(name = "种植作物")
    private String farmCrop;

    /** 场地负责人 */
    @Excel(name = "场地负责人")
    private String farmUser;

    /** 设施信息 */
    @Excel(name = "设施信息")
    private String farmFacilities;

    /** 场地天气 */
    @Excel(name = "场地天气")
    private String farmWeather;

    /** 土质质量 */
    @Excel(name = "土质质量")
    private String farmQuality;

    public void setFarmId(Long farmId) 
    {
        this.farmId = farmId;
    }

    public Long getFarmId() 
    {
        return farmId;
    }
    public void setFarmName(String farmName) 
    {
        this.farmName = farmName;
    }

    public String getFarmName() 
    {
        return farmName;
    }
    public void setFarmArea(BigDecimal farmArea) 
    {
        this.farmArea = farmArea;
    }

    public BigDecimal getFarmArea() 
    {
        return farmArea;
    }
    public void setFarmAddress(String farmAddress) 
    {
        this.farmAddress = farmAddress;
    }

    public String getFarmAddress() 
    {
        return farmAddress;
    }
    public void setFarmCrop(String farmCrop) 
    {
        this.farmCrop = farmCrop;
    }

    public String getFarmCrop() 
    {
        return farmCrop;
    }
    public void setFarmUser(String farmUser) 
    {
        this.farmUser = farmUser;
    }

    public String getFarmUser() 
    {
        return farmUser;
    }
    public void setFarmFacilities(String farmFacilities) 
    {
        this.farmFacilities = farmFacilities;
    }

    public String getFarmFacilities() 
    {
        return farmFacilities;
    }
    public void setFarmWeather(String farmWeather) 
    {
        this.farmWeather = farmWeather;
    }

    public String getFarmWeather() 
    {
        return farmWeather;
    }
    public void setFarmQuality(String farmQuality) 
    {
        this.farmQuality = farmQuality;
    }

    public String getFarmQuality() 
    {
        return farmQuality;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("farmId", getFarmId())
            .append("farmName", getFarmName())
            .append("farmArea", getFarmArea())
            .append("farmAddress", getFarmAddress())
            .append("farmCrop", getFarmCrop())
            .append("farmUser", getFarmUser())
            .append("farmFacilities", getFarmFacilities())
            .append("farmWeather", getFarmWeather())
            .append("farmQuality", getFarmQuality())
            .toString();
    }
}
